package com.evenmo.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.evenmo.mapper.BigDataMapper;
import com.evenmo.pojo.BigData;
import com.evenmo.pojo.LayUIResultMap;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;

@Service(value = "bigDataService")
public class BigDataServiceImpl implements BigDataService {
	@Autowired
	private BigDataMapper bigDataDao;

	@Override
	public LayUIResultMap<BigData> queryDatasBy(Map<String, Object> map) {
		PageHelper.startPage(10, 100);
		List<BigData> queryBigDatasByNameLike = bigDataDao.queryBigDatasByNameLike();
		
		LayUIResultMap<BigData> result=new LayUIResultMap<BigData>();
		result.setData(queryBigDatasByNameLike);
		return result;
	}
	
	
	


	
}
